package com.founder.chd_daily_query.entity.file;


import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "FILE_LOAD_REPO")
public class FileLoadEntity {


  @Column(name = "FILE_NAME")
  private String fileName;
  @Id
  @Column(name = "FILE_ID")
  private String fileId;
  @Column(name = "FILE_SUFFIX")
  private String fileSuffix;

  public Date getUploadTime() {
    return uploadTime;
  }

  public void setUploadTime(Date uploadTime) {
    this.uploadTime = uploadTime;
  }

  @Column(name = "FILE_MASK_NAME")
  private String fileMaskName;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @Column(name = "UPLOAD_TIME")
  private Date uploadTime;




  public String getFileName() {
    return fileName;
  }

  public void setFileName(String fileName) {
    this.fileName = fileName;
  }


  public String getFileId() {
    return fileId;
  }

  public void setFileId(String fileId) {
    this.fileId = fileId;
  }


  public String getFileSuffix() {
    return fileSuffix;
  }

  public void setFileSuffix(String fileSuffix) {
    this.fileSuffix = fileSuffix;
  }


  public String getFileMaskName() {
    return fileMaskName;
  }

  public void setFileMaskName(String fileMaskName) {
    this.fileMaskName = fileMaskName;
  }

}
